//
//  ShareView.m
//  HJZWeiBo
//
//  Created by lanou on 16/6/3.
//  Copyright © 2016年 蒋晨成. All rights reserved.
//

#import "ShareView.h"

@implementation ShareView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        UIView *headView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, kWidth, kHeight / 2)];
        headView.backgroundColor = [UIColor lightGrayColor];
        headView.alpha = 0.5;
        [self addSubview:headView];
        UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, kHeight / 2, kWidth, kHeight / 2)];
        view.backgroundColor = [UIColor whiteColor];
        [self addSubview:view];
        UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, 200, 30)];
        label.text = @"分享到";
        [view addSubview:label];
        
        
    }
    return self;
}



@end
